package com.blrs.service.product;

import java.util.List;
import com.blrs.domain.ProductRelease;

/**
 * 产品发布Service接口
 * 
 * @author ruoyi
 * @date 2024-01-10
 */
public interface IProductReleaseService 
{
    /**
     * 查询产品发布
     * 
     * @param productId 产品发布主键
     * @return 产品发布
     */
    public ProductRelease selectProductReleaseByProductId(String productId);

    /**
     * 查询产品发布列表
     * 
     * @param productRelease 产品发布
     * @return 产品发布集合
     */
    public List<ProductRelease> selectProductReleaseList(ProductRelease productRelease);

    /**
     * 新增产品发布
     * 
     * @param productRelease 产品发布
     * @return 结果
     */
    public int insertProductRelease(ProductRelease productRelease) throws NoSuchFieldException, IllegalAccessException;

    /**
     * 修改产品发布
     * 
     * @param productRelease 产品发布
     * @return 结果
     */
    public int updateProductRelease(ProductRelease productRelease);

    /**
     * 批量删除产品发布
     * 
     * @param productIds 需要删除的产品发布主键集合
     * @return 结果
     */
    public int deleteProductReleaseByProductIds(String[] productIds);

    /**
     * 删除产品发布信息
     * 
     * @param productId 产品发布主键
     * @return 结果
     */
    public int deleteProductReleaseByProductId(String productId);

    List<ProductRelease> selectProductReleaseListByExamine(ProductRelease productRelease);

    int updateProductReleaseByStatus(String id);

    List<ProductRelease> selectProductReleaseListReceive(ProductRelease productRelease);

    int terminationPolicy(ProductRelease productRelease);
}
